{% extends "template/addEdit.volt" %}

{% block title %}添加飞机{% endblock %}

{% block content %}
    <table class="single">
        <tr>
            <th>飞机编号:</th>
            <td><input type="text" value="" name="uas_serial_id"/></td>
        </tr>
    </table>
{% endblock %}

{% block jscontent %}
    <script>
        function addAction() {

            $.post("/subsystem/doAddMonitor", $("form").serialize(), function (result) {

                if (result.status == 0) {
                    FAlert("添加成功", function (result) {
                    })
                } else {
                    FAlert("添加失败:" + result.message, function (result) {

                    })
                }
            });
        }
    </script>
{% endblock %}
